aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
committerLorenz Diener <[email protected]>2018-06-05 22:10:31 +0200
commit18c6b3b90ff8bd607df18af86d092ac1205ffbf7 (patch)
tree203729696d2639d5bf221168ad6c76a150130ab0 /tests/cassettes/test_status_post[None-None].yaml
parent36194fd60c8e5c6d30134134e32dd24981aee324 (diff)
downloadmastodon.py-18c6b3b90ff8bd607df18af86d092ac1205ffbf7.tar.gz
New casettes, small fixes
Diffstat (limited to 'tests/cassettes/test_status_post[None-None].yaml')
-rw-r--r--tests/cassettes/test_status_post[None-None].yaml28
1 files changed, 17 insertions, 11 deletions
diff --git a/tests/cassettes/test_status_post[None-None].yaml b/tests/cassettes/test_status_post[None-None].yaml
index 37334a9..95f5881 100644
--- a/tests/cassettes/test_status_post[None-None].yaml
+++ b/tests/cassettes/test_status_post[None-None].yaml
@@ -12,22 +12,25 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"99984774115438029","created_at":"2018-05-06T22:42:58.066Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774115438029","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774115438029","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 15 body: {string: '{"id":"100154009653963118","created_at":"2018-06-05T20:01:47.100Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009653963118","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009653963118","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 16 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
17 Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI 17 Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
18 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 18 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":21,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
19 headers: 19 headers:
20 Cache-Control: ['max-age=0, private, must-revalidate'] 20 Cache-Control: ['max-age=0, private, must-revalidate']
21 Content-Type: [application/json; charset=utf-8] 21 Content-Type: [application/json; charset=utf-8]
22 ETag: [W/"15ea3b2f6e3524a2391933bd17f2a220"] 22 ETag: [W/"f34b6b9d5eee62ea14deaa3f3da65baa"]
23 Referrer-Policy: [strict-origin-when-cross-origin]
23 Transfer-Encoding: [chunked] 24 Transfer-Encoding: [chunked]
24 Vary: ['Accept-Encoding, Origin'] 25 Vary: ['Accept-Encoding, Origin']
25 X-Content-Type-Options: [nosniff] 26 X-Content-Type-Options: [nosniff]
27 X-Download-Options: [noopen]
26 X-Frame-Options: [SAMEORIGIN] 28 X-Frame-Options: [SAMEORIGIN]
27 X-Request-Id: [7bb9ad03-9d47-4847-9826-8d1fd9309644] 29 X-Permitted-Cross-Domain-Policies: [none]
28 X-Runtime: ['1.444900'] 30 X-Request-Id: [05fb657d-0bb5-4b4b-89f2-79f25bd5ca2f]
31 X-Runtime: ['0.440738']
29 X-XSS-Protection: [1; mode=block] 32 X-XSS-Protection: [1; mode=block]
30 content-length: ['1400'] 33 content-length: ['1505']
31 status: {code: 200, message: OK} 34 status: {code: 200, message: OK}
32- request: 35- request:
33 body: null 36 body: null
@@ -39,19 +42,22 @@ interactions:
39 Content-Length: ['0'] 42 Content-Length: ['0']
40 User-Agent: [python-requests/2.9.1] 43 User-Agent: [python-requests/2.9.1]
41 method: DELETE 44 method: DELETE
42 uri: http://localhost:3000/api/v1/statuses/99984774115438029 45 uri: http://localhost:3000/api/v1/statuses/100154009653963118
43 response: 46 response:
44 body: {string: '{}'} 47 body: {string: '{}'}
45 headers: 48 headers:
46 Cache-Control: ['max-age=0, private, must-revalidate'] 49 Cache-Control: ['max-age=0, private, must-revalidate']
47 Content-Type: [application/json; charset=utf-8] 50 Content-Type: [application/json; charset=utf-8]
48 ETag: [W/"c2e2f8b89826d233815b5e9f30bfbc9c"] 51 ETag: [W/"228de1dc7f0b4e8fdccb5f26d349fd51"]
52 Referrer-Policy: [strict-origin-when-cross-origin]
49 Transfer-Encoding: [chunked] 53 Transfer-Encoding: [chunked]
50 Vary: ['Accept-Encoding, Origin'] 54 Vary: ['Accept-Encoding, Origin']
51 X-Content-Type-Options: [nosniff] 55 X-Content-Type-Options: [nosniff]
56 X-Download-Options: [noopen]
52 X-Frame-Options: [SAMEORIGIN] 57 X-Frame-Options: [SAMEORIGIN]
53 X-Request-Id: [71f828e6-a96a-48c9-abb8-f1ae223db5ff] 58 X-Permitted-Cross-Domain-Policies: [none]
54 X-Runtime: ['0.166117'] 59 X-Request-Id: [a5880420-44fb-4e66-9be8-a67700de4700]
60 X-Runtime: ['0.149110']
55 X-XSS-Protection: [1; mode=block] 61 X-XSS-Protection: [1; mode=block]
56 content-length: ['2'] 62 content-length: ['2']
57 status: {code: 200, message: OK} 63 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)